Page({
    data: {
        list: []
    },
    onLoad() {
        this.getHistoryList()
    },
    // 获取答题历史
    getHistoryList() {
        let res = wx.getStorageSync('datijilu')
        console.log(res);
        let list = [{
                historyIntegral: '20',
                historyIntervalTime: '20:33',
                historyDate: '2023/05/01'
            },
            {
                historyIntegral: '90',
                historyIntervalTime: '20:33',
                historyDate: '2023/4/13'
            },
            {
                historyIntegral: '50',
                historyIntervalTime: '20:33',
                historyDate: '2023/4/13'
            },
            {
                historyIntegral: '90',
                historyIntervalTime: '20:33',
                historyDate: '2023/4/13'
            },
            {
                historyIntegral: '100',
                historyIntervalTime: '20:33',
                historyDate: '2023/4/13'
            }
        ]
        this.setData({
            list
        })
    }
})